package com.car.loan.framework.aspectj;

import com.car.loan.common.enums.LoanStatusEnum;
import com.car.loan.project.xr.util.bo.business.LoanBaseInfo;

/**
 * @author huangding
 * @description
 * @date 2019/11/9 16:05
 */
public interface DataStatusSqlService {

    /**
     * 流程状态
     */
    LoanStatusEnum getLoanStatusEnum();

    /**
     * 获取sql
     *
     * @param statusAlias 表名
     * @param status 列表状态
     */
    String getSql(String statusAlias, Integer status);

    /**
     * 获取对应状态
     */
    LoanBaseInfo getStatusRemark(LoanBaseInfo loanBaseInfo);

    /**
     * 获取排序SQL
     */
    String getSortSql(String statusAlias);

}
